﻿using TomNet.Entity;

namespace TomNet.Core.Options
{
    /// <summary>
    /// 跨域设置
    /// </summary>
    public class CrossOptions
    {
        /// <summary>
        /// 跨越策略名称
        /// </summary>
        public string PolicyName { get; set; }
        /// <summary>
        /// 跨域策略类型
        /// </summary>
        public CrossType CrossType { get; set; }
        /// <summary>
        /// 允许跨域的URL
        /// </summary>
        public string[] Urls { get; set; }
    }
}
